package net.ck.hzq;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;



public class Fragment2_businessmanagement extends Fragment {

    private View mRootView;

    private RelativeLayout businessmanagment_relat3, businessmanagment_relat4;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater,
                             @Nullable ViewGroup container,
                             @Nullable Bundle savedInstanceState) {
        if (mRootView == null) {
            mRootView = inflater.inflate(R.layout.fragment2_businessmanagement, container, false);
        }
        ViewGroup parent = (ViewGroup) mRootView.getParent();
        if (parent != null) {
            parent.removeView(mRootView);
        }

        businessmanagment_relat3 = (RelativeLayout) mRootView.findViewById(R.id.businessmanagment_relat3);
        businessmanagment_relat4 = (RelativeLayout) mRootView.findViewById(R.id.businessmanagment_relat4);
        businessmanagment_relat3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getActivity(), ActivationregistrationActivity.class);
                startActivity(intent);
            }
        });
        businessmanagment_relat4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                Intent intent = new Intent(getActivity(),);
//                intent.putExtra("type",);
//                startActivity(intent);
            }
        });

        return mRootView;
    }
    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    public void onPause() {
        super.onPause();
    }

}
